<?php


/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Gmap
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
 
?>
<script type="text/javascript" language="javascript">
function marker_locator_coordinate()
{
  var pint = marker_locator.getPosition();
  $('lat').set('value', pint.lat().toFixed(6));
  $('lng').set('value', pint.lng().toFixed(6));  
}
</script>

<div class="headline">
  <h2>
    <?php echo $this->translate('Gmaps');?>
  </h2>
  <div class="tabs">
    <?php
      // Render the menu
      echo $this->navigation()
        ->menu()
        ->setContainer($this->navigation)
        ->render();
    ?>
  </div>
</div>

  <div class="gmap_map_locator_wrapper">
    <?php echo $this->gmap($this->google_map, array('width'=>'400px','height'=>'320px')); ?>
  </div>

<?php echo $this->form->render($this);?>
